<?php

namespace app\branchoffice\behavior;

class BranchofficeLog
{
    public function run(&$params)
    {
        if (request()->isPost() && config('fastadmin.auto_record_log')) {
            \app\branchoffice\model\BranchofficeLog::record();
        }
    }
}
